<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>学习Vue</title>
		<script src="js/vue.js"></script>
	</head>
	<body>

		<div id="app-1">{{ message }}</div>
	</body>
	<script type="text/javascript">
		var app = new Vue({
			el: '#app-1',
			data: {
				message: "HelloWorld!"
			}
		})
		setTimeout(function(){
			app.$data.message = "bye World"
		},2000);
	</script>
		
</html>
